<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <title>vue-form_submit</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/css/bootstrap.min.css"
        integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
</head>

<body>
    <div id="app" class="container">
       <form action="" @submit.prevent="">
           <select v-model="language">
            <option value=""> 请选择</option>
               <option value="c">c语言</option>
               <option value="java">java</option>
               <option value="python">python</option>
               <option value="php">php</option>
               <option value="javascript">javascript</option>
           </select>
           <button type="submit" class="btn btn-success">提交</button>
       </form>
       <hr/>
       {{language}}
    </div>
</body>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script>
    var app = new Vue({
        el: "#app",
        data: {
            language:""
        },
        methods: {
        }
    })
</script>

</html>